home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / games_d / wspm26.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1994-05-21  |  3KB  |  85 lines

  1. echo off
  2. cls
  3. if %1a == a: goto WHATDRIVE
  4. if %1b == b: goto WHATDRIVE
  5. if %1 == c: goto START
  6. if %1 == C: goto START
  7. if %1 == d: goto START
  8. if %1 == D: goto START
  9. if %1 == e: goto START
  10. if %1 == E: goto START
  11. if %1 == f: goto START
  12. if %1 == F: goto START 
  13. goto NOTDRIVE
  14. :START
  15. echo 
  16. echo  ╔═════════════════════════════════════════════════════════════════════════╗
  17. echo  ║                                                                         ║
  18. echo  ║             Word Search Puzzle Maker Hard Disk Installation             ║
  19. echo  ║                                                                         ║
  20. echo  ║   *  This will create a directory called %1\WSPM on your hard disk,     ║
  21. echo  ║      and will install Word Search Puzzle Maker and its files in that    ║
  22. echo  ║      directory.                                                         ║
  23. echo  ║                                                                         ║
  24. echo  ║   *  To run the program, type WSPM and press ENTER.                     ║
  25. echo  ║                                                                         ║
  26. echo  ║   *  If you don't want Word Search Puzzle Maker installed at this       ║
  27. echo  ║      time, press Ctrl + C.                                              ║
  28. echo  ║                                                                         ║
  29. echo  ╚═════════════════════════════════════════════════════════════════════════╝
  30. echo 
  31. pause
  32. cls
  33. echo Making directory %1\WSPM . . .
  34. if exist %1\WSPM\*.* goto EXISTS
  35. md %1\WSPM
  36. :CHECK
  37. if exist WSPM.EXE goto CONTINUE
  38. echo 
  39. echo Place the disk containing Word Search Puzzle Maker and its files in 
  40. echo active drive.
  41. echo 
  42. pause
  43. goto CHECK
  44. :CONTINUE
  45. echo 
  46. echo Copying Word Search Puzzle Maker and its files . . .
  47. copy *.* %1\WSPM
  48. if not exist %1\WSPM\WSPM.EXE goto INSTALLERROR
  49. if not exist %1\WSPM\DIRECTRI.TXT goto INSTALLERROR
  50. cd %1\WSPM
  51. echo 
  52. echo Word Search Puzzle Maker is installed on your hard disk.  To run it, 
  53. echo type WSPM.
  54. %1
  55. echo 
  56. goto DONE
  57. :WHATDRIVE
  58. cls
  59. echo Installation Error:  To install Word Search Puzzle Maker on your hard 
  60. echo disk, you must include the drive as part of the install command.  For 
  61. echo example, to install Word Search Puzzle Maker on drive C, type INSTALL C: 
  62. echo and press ENTER.
  63. goto ERRORQUIT
  64. :NOTDRIVE
  65. cls
  66. echo Installation Error: The hard drive letter can be a letter from C to F,
  67. echo For example, INSTALL C: will install Word Search Puzzle Maker on drive 
  68. echo C.  You must include a colon after the drive letter.
  69. goto ERRORQUIT
  70. :INSTALLERROR
  71. cls
  72. echo Installation Error: Do you have enough space on your hard disk?
  73. echo Did you give the proper hard drive letter?
  74. goto ERRORQUIT
  75. :EXISTS
  76. cls
  77. echo Installation Error: WSPM Directory already exists on this drive.
  78. echo Delete this directory and all files in it, then try installing again.
  79. goto ERRORQUIT
  80. :ERRORQUIT
  81. echo 
  82. echo Word Search Puzzle Maker was not installed correctly.
  83. echo 
  84. :DONE
  85.